package com.app.service;

import com.app.common.Result;
import com.app.model.AdminUserModel;
import com.app.model.BusinessSettledModel;
import com.app.vo.BusinessSettledVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 商家入驻表 服务类
 * </p>
 *
 * @author 16693103420
 * @since 2024-01-26
 */
public interface BusinessSettledService extends IService<BusinessSettledModel> {
    //查询列表
    BusinessSettledVo getBusinessSettledList(Integer page, Integer limit, String businessName, String phone, Integer status, AdminUserModel user, Integer areaId);

    /**
     *
     * @param id
     * @param status
     * @return
     */
    @Transactional
    Result updateStatus(Integer id, Integer status) throws Exception;
}
